package cn.jack.test.friendcircle;

/**
 * Created by chengyinggen on 2019/2/26.
 */
public class FCClickFriendCircle extends FriendCircle {

    public FCClickFriendCircle(IFriendCircle friendCircle) {
        super(friendCircle);
    }

    @Override
    public void handAction(int action) {
        mFriendCircle.clickFriendCircle();
        mFriendCircle.setState(new FCClickLongSendMessage(mFriendCircle));
//        switch (action) {
//            case CLICK_FIND:
//                mFriendCircle.clickFind();
//                mFriendCircle.setState(new FCClickFriendCircle(mFriendCircle));
//                break;
//            case CLICK_FRIEND_CIRCLE:
//                mFriendCircle.clickFriendCircle();
//                mFriendCircle.setState(new FCClickLongSendMessage(mFriendCircle));
//                break;
//            case CLICK_LONG_SEND_MESSAGE:
//                mFriendCircle.clickLongSendMessage();
//                mFriendCircle.setState(new FCClickSend(mFriendCircle));
//                break;
//            case CLICK_SEND:
//                mFriendCircle.clickSend();
//                break;
//            default:
//                throw new IllegalArgumentException("error");
//        }
    }
}
